.class public Les/sy;
.super Les/py;
.source "BottomMenu_File.java"


# instance fields
.field public A:Les/wy;

.field B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field private C:Z

.field private D:Z

.field private E:Lcom/estrongs/android/ui/preference/n;

.field private F:Les/qy;

.field private G:I

.field private H:Z

.field private y:Lcom/estrongs/android/ui/view/i;

.field private z:Landroid/view/View;


# direct methods
.method public constructor <init>(Landroid/content/Context;Z)V
    .locals 1

    const/4 v0, 0x1

    .line 8
    invoke-direct {p0, p1, p2, v0}, Les/sy;-><init>(Landroid/content/Context;ZZ)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;ZZ)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2, p3}, Les/py;-><init>(Landroid/content/Context;ZZ)V

    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 p1, 0x1

    .line 3
    iput-boolean p1, p0, Les/sy;->C:Z

    const/4 p2, 0x0

    .line 4
    iput-boolean p2, p0, Les/sy;->D:Z

    .line 5
    iput p2, p0, Les/sy;->G:I

    .line 6
    iput-boolean p1, p0, Les/sy;->H:Z

    .line 7
    invoke-direct {p0}, Les/sy;->o()V

    return-void
.end method

.method static synthetic a(Les/sy;)I
    .locals 0

    .line 2
    iget p0, p0, Les/sy;->G:I

    return p0
.end method

.method static synthetic a(Les/sy;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Les/sy;->C:Z

    return p1
.end method

.method static synthetic b(Les/sy;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Les/sy;->D:Z

    return p1
.end method

.method private o()V
    .locals 4

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/utils/t;->b()Z

    move-result v0

    iput-boolean v0, p0, Les/my;->e:Z

    .line 2
    iget-object v0, p0, Les/my;->b:Landroid/content/Context;

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object v0, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v1, 0x7f090b24

    .line 3
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    .line 4
    iput-object v0, p0, Les/sy;->z:Landroid/view/View;

    .line 5
    new-instance v1, Lcom/estrongs/android/ui/view/i;

    iget-object v2, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v3, 0x1

    invoke-direct {v1, v2, v0, v3}, Lcom/estrongs/android/ui/view/i;-><init>(Landroid/app/Activity;Landroid/widget/RelativeLayout;I)V

    iput-object v1, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    .line 6
    new-instance v0, Les/sy$a;

    invoke-direct {v0, p0}, Les/sy$a;-><init>(Les/sy;)V

    iput-object v0, p0, Les/sy;->E:Lcom/estrongs/android/ui/preference/n;

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    iget-object v1, p0, Les/sy;->E:Lcom/estrongs/android/ui/preference/n;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/FexApplication;->a(Lcom/estrongs/android/ui/preference/n;)V

    .line 8
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->H1()Z

    move-result v0

    iput-boolean v0, p0, Les/sy;->C:Z

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->I1()Z

    move-result v0

    iput-boolean v0, p0, Les/sy;->D:Z

    .line 10
    invoke-virtual {p0}, Les/sy;->k()V

    .line 11
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    const-string v1, "normal_mode"

    invoke-virtual {v0, v1, p0}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Les/my;)V

    .line 12
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    new-instance v1, Les/ez;

    iget-object v2, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-boolean v3, p0, Les/my;->d:Z

    invoke-direct {v1, v0, v2, v3}, Les/ez;-><init>(Lcom/estrongs/android/ui/view/i;Landroid/app/Activity;Z)V

    const-string v2, "paste_mode"

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Les/my;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 6
    invoke-super {p0}, Les/py;->a()V

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    iget-object v1, p0, Les/sy;->E:Lcom/estrongs/android/ui/preference/n;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/FexApplication;->b(Lcom/estrongs/android/ui/preference/n;)V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 3
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/i;->b()Ljava/lang/String;

    move-result-object v0

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 4
    :cond_0
    iget-object v0, p0, Les/sy;->A:Les/wy;

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0, p1, p2}, Les/wy;->a(Ljava/lang/String;Ljava/util/List;)V

    :cond_1
    return-void
.end method

.method protected b()V
    .locals 1

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/esclasses/g;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->N0()V

    goto :goto_0

    .line 5
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->O0()V

    :cond_1
    :goto_0
    return-void
.end method

.method public b(Z)V
    .locals 0

    .line 6
    iput-boolean p1, p0, Les/sy;->H:Z

    return-void
.end method

.method protected c()V
    .locals 1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/esclasses/g;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->O0()V

    goto :goto_0

    .line 6
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->N0()V

    :cond_1
    :goto_0
    return-void
.end method

.method public c(Z)V
    .locals 1

    .line 1
    invoke-virtual {p0, p1}, Les/my;->a(Z)V

    .line 2
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/view/i;->a(Z)V

    return-void
.end method

.method public d(Z)V
    .locals 10

    .line 1
    iget-object v0, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->q0()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->S()V

    .line 4
    iget-object v1, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->o0()V

    .line 5
    :cond_0
    iget-object v1, p0, Les/sy;->A:Les/wy;

    const-string v2, "edit_mode"

    const/4 v3, 0x1

    if-nez v1, :cond_1

    .line 6
    new-instance v1, Les/sy$b;

    iget-object v6, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-boolean v7, p0, Les/my;->d:Z

    const/4 v8, 0x0

    iget-boolean v4, p0, Les/my;->e:Z

    xor-int/lit8 v9, v4, 0x1

    move-object v4, v1

    move-object v5, p0

    invoke-direct/range {v4 .. v9}, Les/sy$b;-><init>(Les/sy;Landroid/app/Activity;ZLandroid/widget/LinearLayout;Z)V

    iput-object v1, p0, Les/sy;->A:Les/wy;

    .line 7
    iget-object v4, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v4, v2, v1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Les/my;)V

    .line 8
    :cond_1
    iget-object v1, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v1, v3}, Lcom/estrongs/android/ui/view/i;->a(Z)V

    .line 9
    iget-object v1, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {v1, v2, p1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 10
    iget-object p1, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object v2, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    .line 11
    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->P0()V

    if-eqz v0, :cond_2

    .line 12
    invoke-virtual {v0, v3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Z)V

    .line 13
    iget-object p1, p0, Les/sy;->B:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q()I

    move-result v0

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/util/List;I)V

    :cond_2
    return-void
.end method

.method protected d()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public f(I)V
    .locals 3

    .line 1
    iget-object v0, p0, Les/sy;->F:Les/qy;

    invoke-virtual {v0, p1}, Les/qy;->a(I)V

    .line 2
    iget-object v0, p0, Les/sy;->F:Les/qy;

    invoke-virtual {v0}, Les/ny;->a()[Ljava/lang/String;

    move-result-object v0

    .line 3
    iget-boolean v1, p0, Les/sy;->H:Z

    if-nez v1, :cond_0

    .line 4
    iget-object v1, p0, Les/sy;->F:Les/qy;

    const-string v2, "message_box"

    invoke-virtual {v1, v0, v2}, Les/ny;->a([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    :cond_0
    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {p0, v0}, Les/py;->b([Ljava/lang/String;)V

    .line 6
    :cond_1
    iput p1, p0, Les/sy;->G:I

    .line 7
    invoke-virtual {p0}, Les/py;->j()V

    return-void
.end method

.method public g()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected h()V
    .locals 2

    .line 1
    new-instance v0, Les/qy;

    iget-object v1, p0, Les/my;->b:Landroid/content/Context;

    check-cast v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1}, Les/qy;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    iput-object v0, p0, Les/sy;->F:Les/qy;

    .line 2
    invoke-virtual {v0}, Les/qy;->d()V

    return-void
.end method

.method protected i()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Les/v00;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Les/sy;->F:Les/qy;

    invoke-virtual {v0}, Les/ny;->c()Ljava/util/Map;

    move-result-object v0

    return-object v0
.end method

.method public k()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/sy;->F:Les/qy;

    iget-boolean v1, p0, Les/sy;->C:Z

    iget-boolean v2, p0, Les/sy;->D:Z

    invoke-virtual {v0, v1, v2}, Les/qy;->a(ZZ)V

    return-void
.end method

.method public l()Lcom/estrongs/android/ui/view/i;
    .locals 1

    .line 1
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    return-object v0
.end method

.method public m()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/sy;->y:Lcom/estrongs/android/ui/view/i;

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    const-string v2, "normal_mode"

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 2
    iget-object v0, p0, Les/sy;->A:Les/wy;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/py;->j()V

    :cond_0
    return-void
.end method

.method public n()V
    .locals 1

    const/4 v0, 0x1

    .line 1
    invoke-virtual {p0, v0}, Les/sy;->d(Z)V

    return-void
.end method
